package cc.admin.common.db.table.writer;

import cc.admin.common.db.table.base.EtlWriter;
import cc.admin.common.db.table.entity.DbEntity;
import cc.admin.common.db.util.DbConstants;
/**
 * @author: ZhangHouYing
 * @date: 2018-06-24
 */
public class HiveWriter extends EtlWriter {

	public HiveWriter(){
		this.dbType = DbConstants.DB_NAME_HIVE;
	}

	@Override
	public String writerSql(DbEntity dbEntity) {
		return renderCreateTableSql( "hive.ftl", dbEntity);
	}

}
